<script>
export default {
  name: 'FormBase',
  props: {
    label: {
      type: String
    },
    bindKeys: {
      type: String || Array
    },
    controlProps: {
      type: Object,
      default: () => ({})
    },
    controlConfigs: {
      type: Object,
      default: () => ({})
    },
    controlValue: {}
  },
  computed: {
    value: {
      get: function() {
        return this.controlValue
      },
      set: function(v) {
        this.$emit('change', v)
      }
    }
  }
}
</script>
